package com.roc.steelend.util;
import java.util.UUID;

/**
 * 员工id自动生成
 */
public class UuidUtil {

    public static int UuidWay(){
        String uuid = UUID.randomUUID().toString().replaceAll("-", "");
        UUID id=UUID.randomUUID();
        int i = id.hashCode();
        i=i<0? -i:i;
        return i;
    }
}
